package Test1;

public class Test2 {
    public static void main(String[] args) {
        Electric phone=new Phone();
        Electric computer=new Computer();

        phone.poweroff();
        phone.poweron();


        computer.poweron();
        computer.poweroff();

        Computer c=(Computer)computer;
        c.playgame();
    }

}
